package com.nut.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.nut.common.BaseEntity;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("biz_member")
public class Member extends BaseEntity {

    private Long id;

    //用户昵称
    private String nickname;

    //sessionkey
    private String sessionkey;

    //微信登录openid
    private String openid;

    //用户头像图片
    private String avatar;

    //name
    private String name;

    //手机号
    private String mobile;

    //身份证号码
    private String ident;

    /**最近一次登录时间*/
    private LocalDateTime lastLoginTime;

    /**最近一次登录IP地址*/
    private String lastLoginIp;

    //账户余额
    private Integer balance;

    //积分
    private Integer score;

    //状态 0可用 1禁用 2注销
    private Integer status;

}
